cmake_minimum_required(VERSION 3.22.1)

project(demo)

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR})

include_directories(../include)

aux_source_directory(../src SRC2)

list(REMOVE_ITEM SRC2 ../src/main.cpp)

add_compile_options(-std=c++11 -Wall -O1)

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

add_executable(demo demo.cpp ${SRC2})

add_executable(demo02 demo02.cpp ${SRC2})


#message("更新后的文件列表：${SRC2}")